import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import store from '@/store'
// 引入公共样式
import '@/styles/index.less'
// 引入rem基准
import 'lib-flexible'
// 注册全局组件
import tabbar from '@/components/tabbar/index.vue'
import card from '@/components/card/index.vue'
import iconCard from '@/components/iconCard/index.vue'
// 引入字体图标
import '@/assets/iconfont/iconfont.css'

createApp(App)
  .component('tabbar', tabbar)
  .component('card', card)
  .component('iconCard', iconCard)
  .use(router)
  .use(store)
  .mount('#app')
